package com.itheima.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 王加鑫
 * @Date 2021/08/18 21:10
 * @Since JDK 1.8
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student implements Serializable {

    private String number;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
    private String address;

}
